@echo off

rem -- Lipsion
color 1f
:menu
echo   ______________________________________________________________________
echo  ^|                                                                    ^|
echo  ^|                     Maven  -  �������                             ^|
echo  ^|                                                                    ^|
echo  ^| 0 - install���زֿ�            1 - deployԶ�ֿ̲�                  ^|
echo  ^|____________________________________________________________________^|
:input
set /p input=-^> ��ѡ��: 

if "%input%"== "0" goto install
if "%input%"== "1" goto deploy


goto end

:install
echo  # install���زֿ� #
mvn clean install -Dmaven.test.skip=true -U &&pause&&cls&& call compile.bat

:deploy
echo  # deployԶ�ֿ̲� #
mvn clean source:jar deploy -Dmaven.test.skip=true &&pause&&cls&& call compile.bat


:end
echo ����
prompt
popd